package com.jfeat.am.module.wegou.services.domain.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jfeat.am.module.wegou.services.persistence.model.ProductType;

import java.util.List;
import java.util.Map;

/**
 * Created by vincent on 2017/10/19.
 */
public interface QueryProductTypeService {
    List<ProductType> findProductTypePage(Page<ProductType> page, ProductType productType);

    List<Map<String, Object>> recurisivelyFindProductTypesPage(Page page, ProductType productType);

    List<Map<String, Object>> recurisivelyFindAllProductTypes();

    List<Map<String, Object>> recurisivelyFindAllProductTypes(Long productRestaurantId);

}